#ifndef __PAGELIB_H__
#define __PAGELIB_H__

#include"DirScanner.h"
#include<vector>
#include<string>
#include<map>

using std::vector;
using std::string;
using std::map;
using std::pair;

class PageLib
{
public:
    PageLib(string & path);
    void create();

private:
    void store();
    void storeoff();
    DirScanner _dirscanner;
    vector<string> _pages;
    map<int ,pair<int ,int >> _offsetLib;

};


#endif
